import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store/index'
import socket from './utils/socket'
import 'normalize.css'
import './style/common.scss'
// import VueSocketio from 'vue-socket.io';

// Vue.use(new VueSocketio({
//   debug: true,
  
//   connection: 'localhost:557'
//   // connection: 'localhost:557'
//   // connection: socketio('localhost:8889/mypath', {forceNew: true}),
//   // vuex: {
//   //   store,
//   //   actionPrefix: "SOCKET_",
//   //   mutationPrefix: "SOCKET_"
//   // }
// }));
Vue.config.productionTip = false
Vue.prototype.$socket = socket
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
